#pragma once

class myprogress : public QWidget
{
    Q_OBJECT  //信号槽等用到
public:
    explicit myprogress(QWidget* parent = nullptr);
    void startProgress();
    void updateProgress();
    void resetProgress();
private:
     void setUI();
     void setupConnections();
     QProgressBar* embeddedProgress;
     QPushButton* start;
     QPushButton* reset;
     int progressValue = 0;
     QTimer* taskTimer;
   
};

